Skip to content

Conversation

@jonathanhe-msft
Copy link
Contributor


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Copilot AI review requested due to automatic review settings June 13, 2025 20:56
@azure-client-tools-bot-prd
Copy link

azure-client-tools-bot-prd bot commented Jun 13, 2025

❌Azure CLI Extensions Breaking Change Test
❌vmware
rule cmd_name rule_message suggest_message
1007 - ParaRemove vmware datastore disk-pool-volume create cmd vmware datastore disk-pool-volume create removed parameter no_wait please add back parameter no_wait for cmd vmware datastore disk-pool-volume create
1007 - ParaRemove vmware datastore elastic-san-volume create cmd vmware datastore elastic-san-volume create removed parameter no_wait please add back parameter no_wait for cmd vmware datastore elastic-san-volume create
1007 - ParaRemove vmware datastore netapp-volume create cmd vmware datastore netapp-volume create removed parameter no_wait please add back parameter no_wait for cmd vmware datastore netapp-volume create
1007 - ParaRemove vmware placement-policy vm create cmd vmware placement-policy vm create removed parameter no_wait please add back parameter no_wait for cmd vmware placement-policy vm create
1007 - ParaRemove vmware placement-policy vm-host create cmd vmware placement-policy vm-host create removed parameter no_wait please add back parameter no_wait for cmd vmware placement-policy vm-host create
1007 - ParaRemove vmware private-cloud create cmd vmware private-cloud create removed parameter nsxt_password please add back parameter nsxt_password for cmd vmware private-cloud create
1007 - ParaRemove vmware private-cloud create cmd vmware private-cloud create removed parameter vcenter_password please add back parameter vcenter_password for cmd vmware private-cloud create
1007 - ParaRemove vmware private-cloud update cmd vmware private-cloud update removed parameter nsxt_password please add back parameter nsxt_password for cmd vmware private-cloud update
1007 - ParaRemove vmware private-cloud update cmd vmware private-cloud update removed parameter vcenter_password please add back parameter vcenter_password for cmd vmware private-cloud update
1007 - ParaRemove vmware vm restrict-movement cmd vmware vm restrict-movement removed parameter no_wait please add back parameter no_wait for cmd vmware vm restrict-movement
1007 - ParaRemove vmware workload-network dhcp relay create cmd vmware workload-network dhcp relay create removed parameter no_wait please add back parameter no_wait for cmd vmware workload-network dhcp relay create
1007 - ParaRemove vmware workload-network dhcp server create cmd vmware workload-network dhcp server create removed parameter no_wait please add back parameter no_wait for cmd vmware workload-network dhcp server create
⚠️ 1006 - ParaAdd vmware addon hcx create cmd vmware addon hcx create added parameter management_network
⚠️ 1006 - ParaAdd vmware addon hcx create cmd vmware addon hcx create added parameter uplink_network
⚠️ 1006 - ParaAdd vmware addon hcx update cmd vmware addon hcx update added parameter management_network
⚠️ 1006 - ParaAdd vmware addon hcx update cmd vmware addon hcx update added parameter uplink_network
⚠️ 1011 - SubgroupAdd vmware cluster host sub group vmware cluster host added
⚠️ 1011 - SubgroupAdd vmware datastore pure-storage-volume sub group vmware datastore pure-storage-volume added
⚠️ 1006 - ParaAdd vmware private-cloud create cmd vmware private-cloud create added parameter dns_zone_type
⚠️ 1006 - ParaAdd vmware private-cloud create cmd vmware private-cloud create added parameter zones
⚠️ 1011 - SubgroupAdd vmware provisioned-network sub group vmware provisioned-network added
⚠️ 1011 - SubgroupAdd vmware pure-storage-policy sub group vmware pure-storage-policy added
⚠️ 1001 - CmdAdd vmware script-execution get-execution-log cmd vmware script-execution get-execution-log added
⚠️ 1011 - SubgroupAdd vmware skus sub group vmware skus added

@azure-client-tools-bot-prd
Copy link

Hi @jonathanhe-msft,
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@yonzhan
Copy link
Collaborator

yonzhan commented Jun 13, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the VMware extension’s default API version and enhances the HCX addon commands with new networking flags, and adds a new pure-storage-volume command group in the help.

  • Bump API version from 2023-09-01 to 2024-09-01 across cluster, cloud-link, authorization, and addon commands
  • Add --management-network and --uplink-network parameters to HCX addon create/update commands, with client‐flatten schema updates
  • Introduce vmware datastore pure-storage-volume help entries and update release history to 8.0.0

Reviewed Changes

Copilot reviewed 167 out of 167 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cluster/_delete.py, cluster/_create.py Updated API version to 2024-09-01
cloud_link/* Updated API version and renamed --name flags to --cloud-link-name
authorization/* Bumped API versions to 2024-09-01
addon/* Bumped API versions, added management-network & uplink-network args, enabled client_flatten
_help.py Added pure-storage-volume command group help
HISTORY.md Released version 8.0.0 notes
Comments suppressed due to low confidence (3)

src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py:93

  • Mark --management-network and --uplink-network in the Create command as nullable=True (e.g., nullable=True) to mirror the Update command and allow these parameters to be optional.
hcx.management_network = AAZStrArg(

src/vmware/azext_vmware/aaz/latest/vmware/addon/_create.py:93

  • Add unit tests to cover the new --management-network and --uplink-network parameters in the HCX create and update commands to ensure correct handling and serialization.
hcx.management_network = AAZStrArg(

src/vmware/azext_vmware/_help.py:320

  • Close the quotation around the --linked-cloud value in the example help text so that the shell command syntax is valid (add the missing closing ").
text: az vmware datastore pure-storage-volume create --name PureStorageDatastore --resource-group MyResourceGroup --cluster Cluster-1 --private-cloud MyPrivateCloud --storage-pool-id "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/ResourceGroup1/providers/PureStorage.Block/storagePools/storagePool1" --linked-cloud "/subscriptions/12341234-1234-1234-1234-123412341234/resourceGroups/mygroup/providers/Microsoft.AVS/privateClouds/cloud2

@github-actions
Copy link

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link

github-actions bot commented Jun 13, 2025

@yanzhudd yanzhudd merged commit 83085e0 into Azure:main Jun 18, 2025
24 checks passed
@azclibot
Copy link
Collaborator

[Release] Update index.json for extension [ vmware-8.0.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=127607402&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants